/*
 * @Author: hq
 * @Date: 2022-05-18 19:57:54
 * @LastEditors: hq
 * @LastEditTime: 2022-08-16 17:43:27
 * @Description: your project
 * @version: 1.0
 */
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import "@/style/index.scss";
import Element from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(Element);

import '@/assets/font-awesome-4.7.0/css/font-awesome.min.css'
import moment from 'moment'
Vue.prototype.$moment = moment().endOf("day").valueOf()

import sort_ascii from "@/utils/signature"
Vue.prototype.$sort_ascii = sort_ascii

Vue.prototype.$http_url = window.LOCATIONURL

// import iView from 'iview'; // 导入组件库
// import 'iview/dist/styles/iview.css'; // 导入样式
// Vue.use(iView);

import VueAMap from 'vue-amap'
Vue.use(VueAMap);
// 初始化vue-amap
VueAMap.initAMapApiLoader({
    key: 'dca2f7df6b52158a549baba10f1e05e7', // 高德的key
    // 插件集合
    plugin: [
        'AMap.CircleEditor', // 圆形编辑器插件
        "AMap.Geolocation", // 定位控件，用来获取和展示用户主机所在的经纬度位置
        "AMap.Geocoder", // 地理编码与逆地理编码服务，用于地址描述与坐标间的相互转换
        "AMap.Autocomplete",
        "AMap.PlaceSearch",
        "AMap.CitySearch",
    ],
    // 高德 sdk 版本，默认为 1.4.4
    v: '1.4.4'
});
//高德的安全密钥
window._AMapSecurityConfig = {
    securityJsCode: '0d03e7275cc2c1a86d638ba64dc657e2',
}


Vue.prototype.$bus = new Vue();



new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')